package com.amrit.javarev;


public class MyInterfaceImpl extends MyAbstractClass implements MyInterface{
	
	public static void main(String[] args) {
		MyInterfaceImpl mi = new MyInterfaceImpl();
		mi.doSomeStuff();
		mi.doSomeWork();
		mi.doStuff();
		mi.someThingElse();
		MyInterfaceImpl.someMethod();
		System.out.println(MyInterface.doWork());
	}

	@Override
	public void doSomeWork() {
		System.out.println("Impl method of doSomeWork");
		
	}

	@Override
	int doSomeStuff() {
		System.out.println("Impl method from abstract class");
		return 4;
	}
	
	/*@Override
	public static int doWork(){
		return 0;
		
	}*/

}
